package pri.ydy.eduService.client;

import org.springframework.stereotype.Component;
import pri.ydy.commonUtils.R;

import java.util.List;

/**
 * @author YeDongYong
 * @date 2020/12/6 - 15:18
 */
@Component
public class VodFileDegradeFeignClient implements VodClient {//出错执行方法
    @Override
    public R removeAlyVideo(String id) {
        return R.error().message("删除视频出错了");
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {
        return R.error().message("删除多个视频出错了");
    }
}
